package com.example.anjia03_3z.mapper;

import com.example.anjia03_3z.pojo.entity.Article;
import com.example.anjia03_3z.pojo.vo.ArticleDetailVO;
import com.example.anjia03_3z.pojo.vo.ArticleListItemVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ArticleMapper {

    int insertArticle(Article article);

    List<ArticleListItemVO> list();

    ArticleDetailVO getArticle(Long id);

}
